package taller2.view.windows;

import taller2.utils.Constants;
import taller2.utils.Point;
import taller2.view.menus.HelpMenu;

public class HelpWindow {
	private MyWindow window;
	private HelpMenu help;
	
	// constructor
	public HelpWindow(){
		this.window = new MyWindow("generalInfo");			
		this.help = new HelpMenu();
		window.addComponent(help, 1, 1, new Point(0, 0));
		window.changeSize(Constants.tamHelpMenuX,Constants.tamHelpMenuY);
		window.hideOnClose();
		
	}

	// redraws the window
	public void redraw() {
		window.redraw();
	}
}
